home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
misc
/
shellscr
/
src
/
defarg.asm
< prev
next >
Wrap
Assembly Source File
|
1999-11-30
|
218b
|
10 lines
; a shorter (code and execution-wise) replacement for 'IF x THEN x ELSE y'.
; instead of 'IF x THEN x ELSE y', write 'defarg(x, y)'
xdef defarg__ii
defarg__ii
move.l 8(sp),d0
bne.s .done
move.l 4(sp),d0
.done rts